package com.liyuan.help_e.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AuthorityDao {
    @Select("select authority from authority where roleId = #{roleId}")
    public String[] selectAuthoritiesByRoleId(@Param("roleId")Integer id);
}
